package com.hpf.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @description: 服务降级实现类
 * @datetime: 2020/10/19 22:15
 * @author: huangpengfei
 */
@Component
public class OrderHystrixFallbackServiceImpl implements OrderHytrixService {

    @Override
    public String paymentOk(Integer id) {
        return "OrderHystrixFallbackServiceImpl---paymentOk";
    }

    @Override
    public String paymentTimeout(Integer id) {
        return "OrderHystrixFallbackServiceImpl---paymentTimeout";
    }
}
